package com.contexticon.Listeners;


import javax.swing.event.*;
import javax.swing.table.TableModel;

public class OurTableModelListener  implements TableModelListener {

    public OurTableModelListener() {
  
        //table.getModel().addTableModelListener(this);
        //...
    }

    public void tableChanged(TableModelEvent e) {
        int row = e.getFirstRow();
        int column = e.getColumn();
        
        System.out.println("Cell edited " + row + " " + column );
        
        //TableModel model = (TableModel)e.getSource();
        ///String columnName = model.getColumnName(column);
        //Object data = model.getValueAt(row, column);


    }

}